package com.xinqi.modules.sys.stats.dto.req;

import com.xinqi.common.base.response.Param;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * 学校教学数据统计-请求对象-查询
 *
 * @author: wenjie
 * @date: 2023/08/24
 */
@Data
public class SchoolTeachingDayStQueryDTO extends Param {
    /**
     * ID
     */
    @Parameter(description = "id", example = "100001")
    private Long id;

    @NotNull(message = "开始日期不能为空")
    @Parameter(description = "开始日期", example = "2023-01-01")
    private LocalDate statDate;

    @NotNull(message = "结束日期不能为空")
    @Parameter(description = "结束日期", example = "2023-10-01")
    private LocalDate endDate;
}
